package cn.arikeky.feign;

import cn.arikeky.User;
import com.alibaba.csp.sentinel.slots.block.BlockException;

public class UserServerBlockHandler {

    public static User getByIdBlockHandler(Long id, BlockException exception){
        exception.printStackTrace();
        return new User(-1L,"降级降级","难受了老铁");
    }
}
